package com.hqumath.androidnative.app;

/**
 * ****************************************************************
 * 作    者: Created by gyd
 * 创建时间: 2019/1/22 14:30
 * 文件描述: SPKey 和 LiveEventBus Key
 * 注意事项:
 * ****************************************************************
 */
public class Constant {
    ////////////////////////////////////////////SPKey////////////////////////////////////////////

    //////////////////////车控制信息 api/game/vehicle/control"/////////////////////////
    public static final String flashid = "flashid";//车flashid
    public static final String vehicle_name = "vehicle_name";//车名称
    public static final String vehicle_name_local = "vehicle_name_local";//车名称 本地使用
    public static final String map_title = "map_title";//地图名称
    public static final String camera_front_encode_type = "camera_front_encode_type";//视频编码 h265
    public static final String camera_back_encode_type = "camera_back_encode_type";
    public static final String reverse_direction = "reverse_direction";//左右方向 on启用；off关闭
    public static final String reverse_move = "reverse_move";//前后反向 on启用；off关闭
    public static final String reverse_direction_local = "reverse_direction_local";//左右方向 on启用；off关闭 本地使用
    public static final String reverse_move_local = "reverse_move_local";//前后反向 on启用；off关闭 本地使用
    public static final String direction_trim_local = "direction_trim_local";//方向微调百分比 ∈[-50%,50%] 本地使用
    public static final String model_type = "model_type";//车型 dumper_wl_001=>装载机，loader_wl_001=>自卸车，excavator_wl_001=>挖掘机
    public static final String vehicle_voice_type = "vehicle_voice_type";//音频类型 gst/self"
    public static final String auxiliary_brake = "auxiliary_brake";//辅助刹车开关 on/off
    //第三视角 third_view_camera
    public static final String camera_encode_type = "camera_encode_type";
    public static final String camera_uuid = "camera_uuid";
    public static final String camera_trans_server_ip = "camera_trans_server_ip";
    public static final String camera_trans_server_port = "camera_trans_server_port";
    public static final String camera_comment = "camera_comment";
    public static final String camera_thumbnail = "camera_thumbnail";
    //中转服务器配置 transfer_server
    public static final String control_uuid = "control_uuid";
    public static final String control_server_ip = "control_server_ip";
    public static final String control_server_port = "control_server_port";
    public static final String video_front_uuid = "video_front_uuid";
    public static final String video_front_uuid_switch = "video_front_uuid_switch";
    public static final String video_back_uuid = "video_back_uuid";
    public static final String video_back_uuid_switch = "video_back_uuid_switch";
    public static final String video_front_server_ip = "video_front_server_ip";
    public static final String video_front_server_port = "video_front_server_port";
    public static final String uuid_audio_gst = "uuid_audio_gst";
    public static final String uuid_audio_self = "uuid_audio_self";
    //控制信息 control_config_custom
    public static final String pwm = "pwm";//pwn周期
    public static final String direction_channel = "direction_channel";//方向
    public static final String direction_value_max = "direction_value_max";
    public static final String direction_value_min = "direction_value_min";
    public static final String direction_value_radius = "direction_value_radius";//半径
    public static final String direction_value_middle = "direction_value_middle";
    public static final String move_value_max = "move_value_max";//速度
    public static final String move_value_min = "move_value_min";
    public static final String move_value_radius = "move_value_radius";
    public static final String move_value_middle = "move_value_middle";
    public static final String move_high_value_on = "move_high_value_on";
    public static final String move_high_value_off = "move_high_value_off";
    public static final String move_high_value_default = "move_high_value_default";
    public static final String ds_front_value_default = "ds_front_value_default";
    public static final String ds_front_value_on = "ds_front_value_on";
    public static final String ds_front_value_off = "ds_front_value_off";
    public static final String ds_backend_value_default = "ds_backend_value_default";
    public static final String ds_backend_value_on = "ds_backend_value_on";
    public static final String ds_backend_value_off = "ds_backend_value_off";
    //定速巡航 cruise_control
    public static final String cruise_control_default = "cruise_control_default";//当前定速 0未开启定速  1低  2中  3高
    public static final String cruise_control_grade_1 = "cruise_control_grade_1";
    public static final String cruise_control_grade_2 = "cruise_control_grade_2";
    public static final String cruise_control_grade_3 = "cruise_control_grade_3";

    /////////////////////////////主界面///////////////////////////////
    public static final String LoginExpired = "LoginExpired";//登陆过期
    public static final String PHONE = "PHONE";
    public static final String TOKEN = "TOKEN";
    public static final String REFRESH_TOKEN = "REFRESH_TOKEN";
    public static final String random_token = "random_token";//车控制 token
    public static final String vehicle_id = "vehicle_id";//车辆id
    public static final String time_length_drive = "time_length_drive";//车控制时间
    public static final String payment_token = "payment_token";//付费租赁驾驶舱 token
    public static final String device_id = "device_id";//安卓设备id 驾驶舱
    //public static final String SteeringWheelName = "SteeringWheelName";//方向盘型号
    public static final String APK_URL = "APK_URL";//apk升级
    public static final String APK_VERSION = "APK_VERSION";
    public static final String MEDIA_URL = "media_url";//主界面宣传视频地址
    public static final String MEDIA_MD5 = "media_md5";//主界面宣传视频MD5
    public static final String OPERATE_TIME = "operate_time";//最近一次操作时间
    public static final String video_type = "video_type";//视频通讯类型 0 UDP;1 TCP
    public static final String VIP_STATE = "VIP_STATE";//会员状态 outsider:非会员 common:大众会员 vip:vip会员
    public static final String VIP_GRADE = "VIP_GRADE";//会员类型   1=>VIP会员  0=>大众会员 -1=>非会员

    /////////////////////////////驾驶界面//////////////////////////////
    public static final String MQTT_INFO = "mqtt_info";//MQTT车状态信息
    public static final String VIDEO_RESOLUTION = "video_resolution";//视频分辨率 "standard":标清，"high":高清
    public static final String VIDEO_RESOLUTION_STANDARD = "standard";//标清
    public static final String VIDEO_RESOLUTION_HIGH = "high";//高清
    public static final String direction_value_ble = "direction_value_middle";//float 蓝牙遥控器传来的方向[-1,1] -1表示左满舵
    public static final String move_value_ble = "move_value_middle";//float 蓝牙遥控器传来的速度[-1,1]
    public static final String IsCompleteDrive = "IsCompleteDrive";//退出时是否结束驾驶 boolean
    public static final String model_type_dumper_wl_001 = "dumper_wl_001";//车型 伟力自卸车
    public static final String model_type_loader_wl_001 = "loader_wl_001";//车型 伟力装载机
    public static final String model_type_excavator_wl_001 = "excavator_wl_001";//车型 伟力挖掘机

    public static final String MODEL_TYPE = "MODEL_TYPE";//车型 open_3_8=>开放3-8通道  open_1_8=>全自定义通道控制  jingyuan=>竞远遥控车
    public static final String CONTROL_MODEL = "control_model";//左右手模式  1.左:油门 刹车  2.左边:方向
    public static final String YG_VALUE = "yg_value";//摇杆半径 50-150dp (对应摇杆范围0-100)
    public static final String SPEED_UNIT = "";// 1 m/s   2 km/h //速度单位
    //public static final String GAME_CONTROL_TIME = "game_control_time";//上一个游戏控制报文的时间

    public static final String direction_channel_number = "direction_channel_number";//方向通道
    public static final String direction_radius = "direction_radius";//方向差值
    public static final String direction_middle = "direction_middle";//方向中值
    public static final String speed_channel_number = "speed_channel_number";//油门通道
    public static final String speed_radius = "speed_radius";//油门差值
    public static final String speed_middle = "speed_middle";//油门中值
    /////////////////////////////驾驶舱相关//////////////////////////////
    public static final String COCKPIT_HEARTBEAT = "cockpit_heartbeat";//驾驶舱心跳
    public static final String GET_COCKPIT_CONTROL = "get_cockpit_control";//驾驶舱控制信息
    public static final String PAY_QRCODE = "Pay_QRCode";//付款二维码
    public static final String WHEEL_ANGLE = "wheel_angle";//方向盘角度范围
    public static final String WHEEL_STRENGTH = "wheel_strength";//方向盘回中力大小
    public static final String WINDOW_CONFIG = "window_config";//自定义窗口配置
    public static final String WINDOW_CONFIG_UPDATE = "WINDOW_CONFIG_UPDATE";//自定义窗口配置更新

    public static final String ATTITUDE_SEAT_SCALE = "ATTITUDE_SEAT_SCALE";//姿态座椅系数
    public static final String ATTITUDE_SEAT_IP = "ATTITUDE_SEAT_IP";//姿态座椅IP 192.168.0.150 最后一位150

    /////////////////////////////////////LiveEventBus/////////////////////////////////////

    /////////////////////////////登录界面///////////////////////////////
    //抖音一键登录
    public static final String DY_LOGIN = "DY_login";
    //微信一键登录，腾讯
    public static final String WX_ONE_KEY = "wx_one_key";
    //微信登陆请求，闻道
    public static final String WX_LOGIN = "wx";
    //注册推送
    public static final String INITPUSH = "INITPUSH";
    //定位成功刷新界面
    public static final String LOCATION_REFRESH_EVENT = "location_refresh_event";
    //网络刷新
    public static final String NET_REFRESH = "net_refresh";

    /////////////////////////////驾驶界面///////////////////////////////
    //车的运行时间
    public static final String CAR_TIME = "car_time";
    //比赛计时
    public static final String GAME_CAR_TIME = "game_car_time";
    //心跳 mqtt  30s
    public static final String MQTT_HEARTBEAT = "mqtt_heartbeat";
    //保存高级设置
    public static final String CONTROLL_INFO = "controll_info";
    //管理员通知
    public static final String ADMIN_NOTICE = "admin_notice";
    //等级 1  改变差速锁
    public static final String GRADE_LCOK = "grade_lcok";
    //切换控制模式  左右切换 event
    public static final String CONTROL_MODEL_EVENT = "control_model_event";
    //退出登录
    public static final String EXIT_LOGIN = "EXIT_LOGIN";
    // 首页刷新与预约状态 20s的
    public static final String refresh_tips_20 = "refresh_tips_20";
    public static final String refresh_line = "refresh_line";
    public static final String refresh_carinfo = "refresh_carinfo";
    public static final String refresh_addressinfo = "refresh_addressinfo";
    public static final String click_Drive = "click_Drive";
    //系统消息
    public static final String SYSTEM_MESSAGE = "system_message";
    //相册多选
    public static final String CUSTOM_PIC = "custom_pic";
    //虚拟控制器切换 确认按
    public static final String CONTROL_SWITCH_SUBMIT_EVENT = "control_switch_submit_event";
    //拨号重连
    public static final String NET_REDIAL = "net_redial";
    //视频开关
    public static final String VIDEO_OFF_EVENT = "video_off_event";
    //蓝牙列表
    public static final String BLUETOOTH_LIST = "BLUETOOTH_LIST";


    /////////////////////////////其它界面///////////////////////////////
    //线路
    public static final String LINE_DES = "line_des";
    //举报
    public static final String INFORMER = "informer";
    //速度单位
    public static final String SPEED_UNIT_EVENT = "speed_unit_event";
    public static final String MQTT_SUBSCRIBE = "MQTT_subscribe";
    public static final String MQTT_UNSUBSCRIBE = "MQTT_unsubscribe";
    //刷新token
    public static final String WX_PAY = "wx_pay";
    //个人资料修改
    public static final String EDIT_USER_INFO = "edit_user_info";
    //二维码识别返回
    public static final String SCREEN_CAPTURE = "screen_capture";
    //地址选择
    public static final String SELECT_ADDRESS_INFO = "select_address_info";

    /////////////////////////////方向盘///////////////////////////////
    public static final String WHEEL_KEY = "wheel_position";//方向盘按键

    public static final String WHEEL_DIRECTION = "direction";//方向盘转动事件
    public static final String WHEEL_SPEED = "speed";//油门踏板踩下事件
    //public static final String WHEEL_UP = "up";//方向键上
    //public static final String WHEEL_DOWN = "down";//方向键下
    //public static final String WHEEL_LEFT = "left";//方向键左
    //public static final String WHEEL_RIGHT = "right";//方向键右
    public static final String WHEEL_TRIANGLE = "triangle";//功能键△
    //public static final String WHEEL_FORK = "fork";//功能键x
    //public static final String WHEEL_FORK_RELEASE = "fork_release";//功能键x 松开
    public static final String WHEEL_SQUARE = "square";//功能键□
    //public static final String WHEEL_CIRCLE = "circle";//功能键○
    public static final String ADD = "add";//增加
    public static final String SUBTRACT = "subtract";//减少
    public static final String CONFIRM = "confirm";//确认
    public static final String CONFIRM_LEFT = "confirm_left";//确认左转
    public static final String CONFIRM_RIGHT = "confirm_right";//确认右转
    public static final String WHEEL_SHARE = "share";//分享
    public static final String WHEEL_OPTION = "option";//菜单
    public static final String PLAY_STATION_DOWN = "play_station_down";//ps按下
    public static final String PLAY_STATION_UP = "play_station_up";//ps松开
    public static final String WHEEL_R2 = "R2";//R2
    public static final String WHEEL_L2 = "L2";//L2
    public static final String WHEEL_R3 = "R3";//R3
    public static final String WHEEL_L3 = "L3";//L3
    public static final String SHIFT_LEFT = "SHIFT_LEFT";//换挡拨片-左侧
    public static final String SHIFT_RIGHT = "SHIFT_RIGHT";//换挡拨片-右侧
    public static final String GEAR_R = "GEAR_R";//挡杆-倒挡
    public static final String GEAR_0 = "GEAR_0";//挡杆-空挡
    public static final String GEAR_1 = "GEAR_1";//挡杆-1挡
    public static final String GEAR_2 = "GEAR_2";//挡杆-2挡
    public static final String GEAR_3 = "GEAR_3";//挡杆-3挡
    public static final String GEAR_4 = "GEAR_4";//挡杆-4挡
    public static final String GEAR_5 = "GEAR_5";//挡杆-5挡
    //手柄独有按钮
    public static final String WHEEL_L1 = "L1";//LB
    public static final String WHEEL_R1 = "R1";//RB
    public static final String WHEEL_THUMBL = "THUMBL";//左摇杆按下
    public static final String WHEEL_THUMBR = "THUMBR";//右摇杆按下

}
